//
//  LinePreTab1CCell2.m
//  ImGuider
//
//  Created by llt on 2017/9/18.
//  Copyright © 2017年 AudioCtrip. All rights reserved.
//

#import "LinePreTab1CCell2.h"

@interface LinePreTab1CCell2 ()
@property (weak, nonatomic) IBOutlet UIImageView *styleImageView;

@end

@implementation LinePreTab1CCell2

- (void)setTransport:(NSInteger)transport {
    
    _transport = transport;
    
    if (transport == 2) {
        
        self.styleImageView.image = [UIImage imageNamed:@"bus"];
    } else if (transport == 3) {
        
        self.styleImageView.image = [UIImage imageNamed:@"ship"];
    } else if (transport == 4) {
        
        self.styleImageView.image = [UIImage imageNamed:@"car"];
    } else  {
        
        self.styleImageView.image = [UIImage imageNamed:@"foot"];
    }
}

@end
